package com.martin.study.startup_context.test;

public class Child extends Parent{

	private String str;
	public Child() {
		System.out.println("child constructor");
	}

	public Child(String str) {
		this.str = str;
	}

	@Override
	protected void doSomething() {
		System.out.println("child do something...");
	}

	public static void main(String[] args) {
		new Child("").doSomething();
	}
}
